package com.ss.android.account.v2.b;

import android.os.Message;
import com.bytedance.common.utility.collection.WeakHandler.Callback;
import com.ss.android.account.activity.mobile.d.g;

public final class c implements Callback {
    private final com.ss.android.account.v2.b.a b;
    private final f a;

    public c(com.ss.android.account.v2.b.a arg1, f arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void handleMsg(Message message) {
        Object v0;
        if(message.what == 10 && ((message.obj instanceof g))) {
            v0 = message.obj;
            if(this.a != null) {
                this.a.b(((g)v0).f);
            }
        }
        else if(message.what == 11 && ((message.obj instanceof com.ss.android.account.activity.mobile.d.c))) {
            v0 = message.obj;
            if(this.a != null) {
                this.a.b(((com.ss.android.account.activity.mobile.d.c)v0).a, this.b.a(((com.ss.android.account.activity.mobile.d.c)v0)), v0);
            }
        }
    }
}

